package com.yanfan.energy.domain;

/**
 * @author caijinkang
 * @date 2023年01月09日 10:43
 */
public class OrderBody {
    /**
     * 订单编号
     *
     * @author caijinkang
     * @date 2023/1/9 10:38
     * @param null
     * @return null
     */
    private String number;
    /**
     * 厂区名称
     *
     * @author caijinkang
     * @date 2023/1/9 10:46
     * @param null
     * @return null
     */
    private String plantName;
    /**
     * 车间名称
     *
     * @author caijinkang
     * @date 2023/1/9 10:46
     * @param null
     * @return null
     */
    private String workshopName;
    /**
     * 状态
     *
     * @author caijinkang
     * @date 2023/1/9 10:47
     * @param null
     * @return null
     */
    private Integer state;
    /**
     * 当前页
     *
     * @author caijinkang
     * @date 2023/1/9 13:45
     * @param null
     * @return null
     */
    private Integer currPage;
    /**
     * 当前页条数
     *
     * @author caijinkang
     * @date 2023/1/9 13:47
     * @param null
     * @return null
     */
    private Integer pageSize;
    /**
     * 判断是否是移动端(true)
     *
     * @author caijinkang
     * @date 2023/2/10 14:21
     * @param null
     * @return null
     */
    private boolean mobileFlag;
    /**
     * 类型
     *
     * @author caijinkang
     * @date 2023/2/10 14:37
     * @param null
     * @return null
     */
    private Integer type;
    /**
     * id订单主键
     *
     * @author caijinkang
     * @date 2023/2/13 10:11
     * @param null
     * @return null
     */
    private Integer id;


    public OrderBody() {
    }

    public OrderBody(String number, String plantName, String workshopName, Integer state, Integer currPage, Integer pageSize, boolean mobileFlag, Integer type) {
        this.number = number;
        this.plantName = plantName;
        this.workshopName = workshopName;
        this.state = state;
        this.currPage = currPage;
        this.pageSize = pageSize;
        this.mobileFlag = mobileFlag;
        this.type = type;
    }

    @Override
    public String toString() {
        return "OrderBody{" + "number='" + number + '\'' + ", plantName='" + plantName + '\'' + ", workshopName='" + workshopName + '\'' + ", state=" + state + ", currPage=" + currPage + ", pageSize=" + pageSize + ", mobileFlag=" + mobileFlag + ", type=" + type + '}';
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getPlantName() {
        return plantName;
    }

    public void setPlantName(String plantName) {
        this.plantName = plantName;
    }

    public String getWorkshopName() {
        return workshopName;
    }

    public void setWorkshopName(String workshopName) {
        this.workshopName = workshopName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getCurrPage() {
        return currPage;
    }

    public void setCurrPage(Integer currPage) {
        this.currPage = currPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public boolean isMobileFlag() {
        return mobileFlag;
    }

    public void setMobileFlag(boolean mobileFlag) {
        this.mobileFlag = mobileFlag;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
